﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Eacademy.Domain.Models;

namespace Eacademy.Domain.Abstractions
{
    public interface IAssignmentRepository
    {
        List<AdminAssignmentsViewModel> GetAssignmentsBySubjectId(int subjectId, int mentorUserId, int pageIndex, int pageSize, out int totalCount,
                                                          bool count = true);
        AdminAssignmentsViewModel GetAssignmentByAssignmentId(int id);
        Boolean DeleteAssignment(int lessonId);
        Boolean UpdateAssignment(AdminAssignmentsViewModel adminAssignmentsViewModel);
        Boolean AddAssignment(AdminAssignmentsViewModel adminAssignmentsViewModel, int subjectId, int mentorUserId);
    }
}